﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200127B RID: 4731
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SwapLineupScRsp : IMessage<SwapLineupScRsp>, IMessage, IEquatable<SwapLineupScRsp>, IDeepCloneable<SwapLineupScRsp>, IBufferMessage
	{
		// Token: 0x17003BFF RID: 15359
		// (get) Token: 0x0600D442 RID: 54338 RVA: 0x0023B888 File Offset: 0x00239A88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SwapLineupScRsp> Parser
		{
			get
			{
				return SwapLineupScRsp._parser;
			}
		}

		// Token: 0x17003C00 RID: 15360
		// (get) Token: 0x0600D443 RID: 54339 RVA: 0x0023B88F File Offset: 0x00239A8F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SwapLineupScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003C01 RID: 15361
		// (get) Token: 0x0600D444 RID: 54340 RVA: 0x0023B8A1 File Offset: 0x00239AA1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SwapLineupScRsp.Descriptor;
			}
		}

		// Token: 0x0600D445 RID: 54341 RVA: 0x0023B8A8 File Offset: 0x00239AA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwapLineupScRsp()
		{
		}

		// Token: 0x0600D446 RID: 54342 RVA: 0x0023B8B0 File Offset: 0x00239AB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwapLineupScRsp(SwapLineupScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D447 RID: 54343 RVA: 0x0023B8D5 File Offset: 0x00239AD5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwapLineupScRsp Clone()
		{
			return new SwapLineupScRsp(this);
		}

		// Token: 0x17003C02 RID: 15362
		// (get) Token: 0x0600D448 RID: 54344 RVA: 0x0023B8DD File Offset: 0x00239ADD
		// (set) Token: 0x0600D449 RID: 54345 RVA: 0x0023B8E5 File Offset: 0x00239AE5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600D44A RID: 54346 RVA: 0x0023B8EE File Offset: 0x00239AEE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SwapLineupScRsp);
		}

		// Token: 0x0600D44B RID: 54347 RVA: 0x0023B8FC File Offset: 0x00239AFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SwapLineupScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D44C RID: 54348 RVA: 0x0023B92C File Offset: 0x00239B2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D44D RID: 54349 RVA: 0x0023B96B File Offset: 0x00239B6B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D44E RID: 54350 RVA: 0x0023B973 File Offset: 0x00239B73
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D44F RID: 54351 RVA: 0x0023B97C File Offset: 0x00239B7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D450 RID: 54352 RVA: 0x0023B9B0 File Offset: 0x00239BB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D451 RID: 54353 RVA: 0x0023B9EE File Offset: 0x00239BEE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SwapLineupScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D452 RID: 54354 RVA: 0x0023BA1F File Offset: 0x00239C1F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D453 RID: 54355 RVA: 0x0023BA28 File Offset: 0x00239C28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 104U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040054F8 RID: 21752
		private static readonly MessageParser<SwapLineupScRsp> _parser = new MessageParser<SwapLineupScRsp>(() => new SwapLineupScRsp());

		// Token: 0x040054F9 RID: 21753
		private UnknownFieldSet _unknownFields;

		// Token: 0x040054FA RID: 21754
		public const int RetcodeFieldNumber = 13;

		// Token: 0x040054FB RID: 21755
		private uint retcode_;
	}
}
